package com.lzh.article.controller;


import com.lzh.article.entity.ApHotArticles;
import com.lzh.article.service.ApHotArticlesService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.beans.factory.annotation.Autowired;
    import org.springframework.web.bind.annotation.RestController;
    import com.lzh.core.controller.AbstractCoreController;

/**
* <p>
* 热文章表 控制器</p>
* @author lzh
* @since 2021-06-24
*/
@RestController
@RequestMapping("/apHotArticles")
public class ApHotArticlesController extends AbstractCoreController<ApHotArticles> {

    private ApHotArticlesService apHotArticlesService;

    //注入
    @Autowired
    public ApHotArticlesController(ApHotArticlesService apHotArticlesService) {
        super(apHotArticlesService);
        this.apHotArticlesService = apHotArticlesService;
    }

}

